<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SPHinXsys: SPH::LevelSetDataPackage Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SPHinXsys
   &#160;<span id="projectnumber">alpha version</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_s_p_h.html">SPH</a></li><li class="navelem"><a class="el" href="class_s_p_h_1_1_level_set_data_package.html">LevelSetDataPackage</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="class_s_p_h_1_1_level_set_data_package-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">SPH::LevelSetDataPackage Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Fixed memory level set data packed in a package.  
 <a href="class_s_p_h_1_1_level_set_data_package.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="base__mesh_8h_source.html">base_mesh.h</a>&gt;</code></p>

<p>Inherits <a class="el" href="class_s_p_h_1_1_base_data_package.html">SPH::BaseDataPackage&lt; LevelSetData &gt;</a>.</p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a9d242cd9cab7fbe38e41ec777c96a2e6"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_level_set_data_package.html#a9d242cd9cab7fbe38e41ec777c96a2e6">LevelSetDataPackage</a> ()</td></tr>
<tr class="separator:a9d242cd9cab7fbe38e41ec777c96a2e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada7d92474227130cc7562bed059bb3a9"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_level_set_data_package.html#ada7d92474227130cc7562bed059bb3a9">initializeDataPackage</a> (<a class="el" href="class_s_p_h_1_1_s_p_h_body.html">SPHBody</a> *sph_body) override</td></tr>
<tr class="separator:ada7d92474227130cc7562bed059bb3a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71a66d40463810937df1f6b11f1a7c25"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_level_set_data_package.html#a71a66d40463810937df1f6b11f1a7c25">initializeWithUniformData</a> (Real level_set, Vecd normal_direction)</td></tr>
<tr class="memdesc:a71a66d40463810937df1f6b11f1a7c25"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function initialize with uniform level set field.  <a href="#a71a66d40463810937df1f6b11f1a7c25">More...</a><br /></td></tr>
<tr class="separator:a71a66d40463810937df1f6b11f1a7c25"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a42258897b25ab90591c2ae9fccb41cdf"><td class="memItemLeft" align="right" valign="top">Real&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_level_set_data_package.html#a42258897b25ab90591c2ae9fccb41cdf">getCurvature</a> (<a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> grid_index)</td></tr>
<tr class="memdesc:a42258897b25ab90591c2ae9fccb41cdf"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function get curvation at a grid point.  <a href="#a42258897b25ab90591c2ae9fccb41cdf">More...</a><br /></td></tr>
<tr class="separator:a42258897b25ab90591c2ae9fccb41cdf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e070f89b3d76086ae4f9854b92d43b2"><td class="memItemLeft" align="right" valign="top">Vecd&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_level_set_data_package.html#a2e070f89b3d76086ae4f9854b92d43b2">getNormalDirection</a> (<a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> grid_index)</td></tr>
<tr class="memdesc:a2e070f89b3d76086ae4f9854b92d43b2"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function get normal direction at a grid point.  <a href="#a2e070f89b3d76086ae4f9854b92d43b2">More...</a><br /></td></tr>
<tr class="separator:a2e070f89b3d76086ae4f9854b92d43b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a83a5576e0cda98ab17da65e6fea043f7"><td class="memItemLeft" align="right" valign="top">Real&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_level_set_data_package.html#a83a5576e0cda98ab17da65e6fea043f7">getSurfaceInCell</a> (<a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> cell_index)</td></tr>
<tr class="memdesc:a83a5576e0cda98ab17da65e6fea043f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function get area of a surface patch in a cell.  <a href="#a83a5576e0cda98ab17da65e6fea043f7">More...</a><br /></td></tr>
<tr class="separator:a83a5576e0cda98ab17da65e6fea043f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7671a3c72c652bca3f564cdda4742d10"><td class="memItemLeft" align="right" valign="top">Real&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_level_set_data_package.html#a7671a3c72c652bca3f564cdda4742d10">getVolumeInCell</a> (<a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> cell_index)</td></tr>
<tr class="memdesc:a7671a3c72c652bca3f564cdda4742d10"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function get volume fraction in a cell.  <a href="#a7671a3c72c652bca3f564cdda4742d10">More...</a><br /></td></tr>
<tr class="separator:a7671a3c72c652bca3f564cdda4742d10"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a98e612e6d11f2a5f78e36bc35a347a8a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classbool.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_level_set_data_package.html#a98e612e6d11f2a5f78e36bc35a347a8a">isNearSurfaceGrid</a> (<a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> grid_index)</td></tr>
<tr class="memdesc:a98e612e6d11f2a5f78e36bc35a347a8a"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function indicate if a grid point near the surafce.  <a href="#a98e612e6d11f2a5f78e36bc35a347a8a">More...</a><br /></td></tr>
<tr class="separator:a98e612e6d11f2a5f78e36bc35a347a8a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a67176b4af5b5051ecf1bb09c5bbc6704"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classbool.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_level_set_data_package.html#a67176b4af5b5051ecf1bb09c5bbc6704">isNarrowBandGrid</a> (<a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> grid_index)</td></tr>
<tr class="memdesc:a67176b4af5b5051ecf1bb09c5bbc6704"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function indicate if a grid point within the narrow band.  <a href="#a67176b4af5b5051ecf1bb09c5bbc6704">More...</a><br /></td></tr>
<tr class="separator:a67176b4af5b5051ecf1bb09c5bbc6704"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a97085ad7b0b805713f1224705b173a11"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classbool.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_level_set_data_package.html#a97085ad7b0b805713f1224705b173a11">stepReinitialization</a> (<a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> grid_index)</td></tr>
<tr class="memdesc:a97085ad7b0b805713f1224705b173a11"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function check whether apply reinitialization step.  <a href="#a97085ad7b0b805713f1224705b173a11">More...</a><br /></td></tr>
<tr class="separator:a97085ad7b0b805713f1224705b173a11"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b64845c5c9d4e9423b7c8058fd97597"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classbool.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_level_set_data_package.html#a5b64845c5c9d4e9423b7c8058fd97597">redistanceToLevelset</a> (<a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> grid_index, Real phi)</td></tr>
<tr class="memdesc:a5b64845c5c9d4e9423b7c8058fd97597"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function check whether apply reset levelset by computing distance to another levelset.  <a href="#a5b64845c5c9d4e9423b7c8058fd97597">More...</a><br /></td></tr>
<tr class="separator:a5b64845c5c9d4e9423b7c8058fd97597"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_s_p_h_1_1_base_data_package"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_s_p_h_1_1_base_data_package')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_s_p_h_1_1_base_data_package.html">SPH::BaseDataPackage&lt; LevelSetData &gt;</a></td></tr>
<tr class="memitem:abf298fac58d8c8f5aa2ac455b20c9c68 inherit pub_methods_class_s_p_h_1_1_base_data_package"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_data_package.html#abf298fac58d8c8f5aa2ac455b20c9c68">BaseDataPackage</a> (<a class="el" href="classsize__t.html">size_t</a> pkg_size, <a class="el" href="classsize__t.html">size_t</a> addrs_buffer)</td></tr>
<tr class="separator:abf298fac58d8c8f5aa2ac455b20c9c68 inherit pub_methods_class_s_p_h_1_1_base_data_package"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4717703555c73397a4844212354e7b8 inherit pub_methods_class_s_p_h_1_1_base_data_package"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_data_package.html#aa4717703555c73397a4844212354e7b8">allocateMeshDataMatrix</a> () override</td></tr>
<tr class="separator:aa4717703555c73397a4844212354e7b8 inherit pub_methods_class_s_p_h_1_1_base_data_package"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc8d962c525e14febe8388f5c97f855a inherit pub_methods_class_s_p_h_1_1_base_data_package"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_data_package.html#abc8d962c525e14febe8388f5c97f855a">deleteMeshDataMatrix</a> () override</td></tr>
<tr class="separator:abc8d962c525e14febe8388f5c97f855a inherit pub_methods_class_s_p_h_1_1_base_data_package"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a27fe7ea95bd644a8c30f44de30011633 inherit pub_methods_class_s_p_h_1_1_base_data_package"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsize__t.html">size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_data_package.html#a27fe7ea95bd644a8c30f44de30011633">PackageSize</a> ()</td></tr>
<tr class="separator:a27fe7ea95bd644a8c30f44de30011633 inherit pub_methods_class_s_p_h_1_1_base_data_package"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a440043da036f792871370c82ceeb37be inherit pub_methods_class_s_p_h_1_1_base_data_package"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsize__t.html">size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_data_package.html#a440043da036f792871370c82ceeb37be">PackageAddressBuffer</a> ()</td></tr>
<tr class="separator:a440043da036f792871370c82ceeb37be inherit pub_methods_class_s_p_h_1_1_base_data_package"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5cc250a5bc80fdd235599cae4a3ac77d inherit pub_methods_class_s_p_h_1_1_base_data_package"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_data_package.html#a5cc250a5bc80fdd235599cae4a3ac77d">initializePackageGeometry</a> (Vecd &amp;pkg_lower_bound, Real data_spacing)</td></tr>
<tr class="separator:a5cc250a5bc80fdd235599cae4a3ac77d inherit pub_methods_class_s_p_h_1_1_base_data_package"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac3209043984480a653625e41f4560af8 inherit pub_methods_class_s_p_h_1_1_base_data_package"><td class="memItemLeft" align="right" valign="top">DataType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_data_package.html#ac3209043984480a653625e41f4560af8">probeDataPackage</a> (MeshDataMatrix&lt; <a class="el" href="class_s_p_h_1_1_level_set_data.html">LevelSetData</a> * &gt; pkg_data_addrs, Vecd &amp;position)</td></tr>
<tr class="memdesc:ac3209043984480a653625e41f4560af8 inherit pub_methods_class_s_p_h_1_1_base_data_package"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function probe Bi and tri-linear interpolation within the package.  <a href="class_s_p_h_1_1_base_data_package.html#ac3209043984480a653625e41f4560af8">More...</a><br /></td></tr>
<tr class="separator:ac3209043984480a653625e41f4560af8 inherit pub_methods_class_s_p_h_1_1_base_data_package"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0a7ee03c48f7e5f081b3fa0c99ad6fc inherit pub_methods_class_s_p_h_1_1_base_data_package"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_data_package.html#aa0a7ee03c48f7e5f081b3fa0c99ad6fc">computeGradient</a> (MeshDataMatrix&lt; <a class="el" href="class_s_p_h_1_1_level_set_data.html">LevelSetData</a> * &gt; pkg_data_addrs, Real dt=0.0)</td></tr>
<tr class="memdesc:aa0a7ee03c48f7e5f081b3fa0c99ad6fc inherit pub_methods_class_s_p_h_1_1_base_data_package"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function compute gradient transform within data package.  <a href="class_s_p_h_1_1_base_data_package.html#aa0a7ee03c48f7e5f081b3fa0c99ad6fc">More...</a><br /></td></tr>
<tr class="separator:aa0a7ee03c48f7e5f081b3fa0c99ad6fc inherit pub_methods_class_s_p_h_1_1_base_data_package"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6128b1fe1bbcb64ffe4c9254b86a84a inherit pub_methods_class_s_p_h_1_1_base_data_package"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_data_package.html#ac6128b1fe1bbcb64ffe4c9254b86a84a">computeNormalizedGradient</a> (MeshDataMatrix&lt; <a class="el" href="class_s_p_h_1_1_level_set_data.html">LevelSetData</a> * &gt; pkg_data_addrs, Real dt=0.0)</td></tr>
<tr class="memdesc:ac6128b1fe1bbcb64ffe4c9254b86a84a inherit pub_methods_class_s_p_h_1_1_base_data_package"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function compute normalized gradient transform within data package.  <a href="class_s_p_h_1_1_base_data_package.html#ac6128b1fe1bbcb64ffe4c9254b86a84a">More...</a><br /></td></tr>
<tr class="separator:ac6128b1fe1bbcb64ffe4c9254b86a84a inherit pub_methods_class_s_p_h_1_1_base_data_package"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_s_p_h_1_1_base_mesh"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_s_p_h_1_1_base_mesh')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_s_p_h_1_1_base_mesh.html">SPH::BaseMesh</a></td></tr>
<tr class="memitem:a24a968bc706af8c7fbdc427ca7ed156b inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh.html#a24a968bc706af8c7fbdc427ca7ed156b">BaseMesh</a> ()</td></tr>
<tr class="separator:a24a968bc706af8c7fbdc427ca7ed156b inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a06e00f3689429e2b174e3da6a7021900 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh.html#a06e00f3689429e2b174e3da6a7021900">BaseMesh</a> (<a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> number_of_grid_points)</td></tr>
<tr class="separator:a06e00f3689429e2b174e3da6a7021900 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00a3bee5412ec539c8cd068d504cd45b inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top">Vecd&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh.html#a00a3bee5412ec539c8cd068d504cd45b">MeshLowerBound</a> ()</td></tr>
<tr class="separator:a00a3bee5412ec539c8cd068d504cd45b inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a075244782af1e6dccff264c569e29dab inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top">Real&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh.html#a075244782af1e6dccff264c569e29dab">GridSpacing</a> ()</td></tr>
<tr class="separator:a075244782af1e6dccff264c569e29dab inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6f44b0d0886d0fd8cbbbded978fca8c inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh.html#ad6f44b0d0886d0fd8cbbbded978fca8c">NumberOfGridPoints</a> ()</td></tr>
<tr class="separator:ad6f44b0d0886d0fd8cbbbded978fca8c inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6366c75d5facfe485c6c0e3b78de3dd6 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh.html#a6366c75d5facfe485c6c0e3b78de3dd6">GridIndexFromPosition</a> (Vecd &amp;position)</td></tr>
<tr class="memdesc:a6366c75d5facfe485c6c0e3b78de3dd6 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function find grid indexes from point position/.  <a href="class_s_p_h_1_1_base_mesh.html#a6366c75d5facfe485c6c0e3b78de3dd6">More...</a><br /></td></tr>
<tr class="separator:a6366c75d5facfe485c6c0e3b78de3dd6 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad8ead27d4828a6cdc50e5cdd56b7ae86 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top">Vecd&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh.html#ad8ead27d4828a6cdc50e5cdd56b7ae86">GridPositionFromIndex</a> (<a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> grid_index)</td></tr>
<tr class="memdesc:ad8ead27d4828a6cdc50e5cdd56b7ae86 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function find grid position from indexes.  <a href="class_s_p_h_1_1_base_mesh.html#ad8ead27d4828a6cdc50e5cdd56b7ae86">More...</a><br /></td></tr>
<tr class="separator:ad8ead27d4828a6cdc50e5cdd56b7ae86 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a253edd98d4f9c0a0eb0727db8f86e2d7 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh.html#a253edd98d4f9c0a0eb0727db8f86e2d7">transfer1DtoMeshIndex</a> (<a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> mesh_size, <a class="el" href="classsize__t.html">size_t</a> i)</td></tr>
<tr class="memdesc:a253edd98d4f9c0a0eb0727db8f86e2d7 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function convert 1d vector index to mesh index.  <a href="class_s_p_h_1_1_base_mesh.html#a253edd98d4f9c0a0eb0727db8f86e2d7">More...</a><br /></td></tr>
<tr class="separator:a253edd98d4f9c0a0eb0727db8f86e2d7 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a504f79b1d618218ae8d48917739e1849 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsize__t.html">size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh.html#a504f79b1d618218ae8d48917739e1849">transferMeshIndexTo1D</a> (<a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> mesh_size, <a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> mesh_index)</td></tr>
<tr class="memdesc:a504f79b1d618218ae8d48917739e1849 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function convert mesh index to 1d vector index.  <a href="class_s_p_h_1_1_base_mesh.html#a504f79b1d618218ae8d48917739e1849">More...</a><br /></td></tr>
<tr class="separator:a504f79b1d618218ae8d48917739e1849 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a17fa32e1900c2c859f5c06e580a524f6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classbool.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_level_set_data_package.html#a17fa32e1900c2c859f5c06e580a524f6">is_core_pkg_</a></td></tr>
<tr class="separator:a17fa32e1900c2c859f5c06e580a524f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_attribs_class_s_p_h_1_1_base_data_package"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_class_s_p_h_1_1_base_data_package')"><img src="closed.png" alt="-"/>&#160;Public Attributes inherited from <a class="el" href="class_s_p_h_1_1_base_data_package.html">SPH::BaseDataPackage&lt; LevelSetData &gt;</a></td></tr>
<tr class="memitem:abe79a160d794e5d2173d1bf95fdae11e inherit pub_attribs_class_s_p_h_1_1_base_data_package"><td class="memItemLeft" align="right" valign="top">Vecd&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_data_package.html#abe79a160d794e5d2173d1bf95fdae11e">data_lower_bound_</a></td></tr>
<tr class="separator:abe79a160d794e5d2173d1bf95fdae11e inherit pub_attribs_class_s_p_h_1_1_base_data_package"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab082ab29c2c14ba7b5d0538053336e9 inherit pub_attribs_class_s_p_h_1_1_base_data_package"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsize__t.html">size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_data_package.html#aab082ab29c2c14ba7b5d0538053336e9">pkg_size_</a></td></tr>
<tr class="separator:aab082ab29c2c14ba7b5d0538053336e9 inherit pub_attribs_class_s_p_h_1_1_base_data_package"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc80c1993d8775d5ac606ae7a05a29a7 inherit pub_attribs_class_s_p_h_1_1_base_data_package"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsize__t.html">size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_data_package.html#afc80c1993d8775d5ac606ae7a05a29a7">pkg_addrs_buffer_</a></td></tr>
<tr class="separator:afc80c1993d8775d5ac606ae7a05a29a7 inherit pub_attribs_class_s_p_h_1_1_base_data_package"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f995c3276dde9d2547bfb98ac810241 inherit pub_attribs_class_s_p_h_1_1_base_data_package"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classbool.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_data_package.html#a9f995c3276dde9d2547bfb98ac810241">is_inner_pkg_</a></td></tr>
<tr class="separator:a9f995c3276dde9d2547bfb98ac810241 inherit pub_attribs_class_s_p_h_1_1_base_data_package"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae2a5216a0bd9628a076d06cee3b9ff36 inherit pub_attribs_class_s_p_h_1_1_base_data_package"><td class="memItemLeft" align="right" valign="top">MeshDataMatrix&lt; <a class="el" href="class_s_p_h_1_1_level_set_data.html">LevelSetData</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_data_package.html#ae2a5216a0bd9628a076d06cee3b9ff36">pkg_data_</a></td></tr>
<tr class="separator:ae2a5216a0bd9628a076d06cee3b9ff36 inherit pub_attribs_class_s_p_h_1_1_base_data_package"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a342b7458bcc94ce0a587f66a96be8481 inherit pub_attribs_class_s_p_h_1_1_base_data_package"><td class="memItemLeft" align="right" valign="top">MeshDataMatrix&lt; <a class="el" href="class_s_p_h_1_1_level_set_data.html">LevelSetData</a> *&gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_data_package.html#a342b7458bcc94ce0a587f66a96be8481">pkg_data_addrs_</a></td></tr>
<tr class="separator:a342b7458bcc94ce0a587f66a96be8481 inherit pub_attribs_class_s_p_h_1_1_base_data_package"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:aab04359fe38980790e94a356dabf8df6"><td class="memItemLeft" align="right" valign="top">Real&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_level_set_data_package.html#aab04359fe38980790e94a356dabf8df6">getHeaviside</a> (Real phi)</td></tr>
<tr class="memdesc:aab04359fe38980790e94a356dabf8df6"><td class="mdescLeft">&#160;</td><td class="mdescRight">This Heavside function compute volume fraction is a cell.  <a href="#aab04359fe38980790e94a356dabf8df6">More...</a><br /></td></tr>
<tr class="separator:aab04359fe38980790e94a356dabf8df6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73d8cf51b026d3ce8dd04cb91bd6552b"><td class="memItemLeft" align="right" valign="top">Vecd&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_level_set_data_package.html#a73d8cf51b026d3ce8dd04cb91bd6552b">getAperture</a> (<a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> grid_index)</td></tr>
<tr class="memdesc:a73d8cf51b026d3ce8dd04cb91bd6552b"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function get aperture at a grid point for computing patch area in a cell.  <a href="#a73d8cf51b026d3ce8dd04cb91bd6552b">More...</a><br /></td></tr>
<tr class="separator:a73d8cf51b026d3ce8dd04cb91bd6552b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_attribs_class_s_p_h_1_1_base_mesh"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_s_p_h_1_1_base_mesh')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="class_s_p_h_1_1_base_mesh.html">SPH::BaseMesh</a></td></tr>
<tr class="memitem:ac8559448b24066e06263bff0aa5ba75b inherit pro_attribs_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top">Vecd&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh.html#ac8559448b24066e06263bff0aa5ba75b">mesh_lower_bound_</a></td></tr>
<tr class="separator:ac8559448b24066e06263bff0aa5ba75b inherit pro_attribs_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6c2e186b771c3573486cdcbaa362b25 inherit pro_attribs_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top">Real&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh.html#af6c2e186b771c3573486cdcbaa362b25">grid_spacing_</a></td></tr>
<tr class="separator:af6c2e186b771c3573486cdcbaa362b25 inherit pro_attribs_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e1e27e30924c3390d8cdd20dba606fd inherit pro_attribs_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh.html#a5e1e27e30924c3390d8cdd20dba606fd">number_of_grid_points_</a></td></tr>
<tr class="separator:a5e1e27e30924c3390d8cdd20dba606fd inherit pro_attribs_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Fixed memory level set data packed in a package. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a9d242cd9cab7fbe38e41ec777c96a2e6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9d242cd9cab7fbe38e41ec777c96a2e6">&#9670;&nbsp;</a></span>LevelSetDataPackage()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">SPH::LevelSetDataPackage::LevelSetDataPackage </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>default constructor </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a73d8cf51b026d3ce8dd04cb91bd6552b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a73d8cf51b026d3ce8dd04cb91bd6552b">&#9670;&nbsp;</a></span>getAperture()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Vecd SPH::LevelSetDataPackage::getAperture </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a>&#160;</td>
          <td class="paramname"><em>grid_index</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>This function get aperture at a grid point for computing patch area in a cell. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">grid_index(Vecu)</td><td>Index of grid </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">Aperture.</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a42258897b25ab90591c2ae9fccb41cdf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a42258897b25ab90591c2ae9fccb41cdf">&#9670;&nbsp;</a></span>getCurvature()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Real SPH::LevelSetDataPackage::getCurvature </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a>&#160;</td>
          <td class="paramname"><em>grid_index</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function get curvation at a grid point. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">grid_index(Vecu)</td><td>Grid index. </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">return</td><td>the curvature. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aab04359fe38980790e94a356dabf8df6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aab04359fe38980790e94a356dabf8df6">&#9670;&nbsp;</a></span>getHeaviside()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Real SPH::LevelSetDataPackage::getHeaviside </td>
          <td>(</td>
          <td class="paramtype">Real&#160;</td>
          <td class="paramname"><em>phi</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>This Heavside function compute volume fraction is a cell. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">phi(Real)</td><td>Level set value. </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">Volume</td><td>of the cell. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a2e070f89b3d76086ae4f9854b92d43b2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2e070f89b3d76086ae4f9854b92d43b2">&#9670;&nbsp;</a></span>getNormalDirection()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Vecd SPH::LevelSetDataPackage::getNormalDirection </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a>&#160;</td>
          <td class="paramname"><em>grid_index</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function get normal direction at a grid point. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">grid_index(Vecu)</td><td>Grid index. </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">return</td><td>the nurm. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a83a5576e0cda98ab17da65e6fea043f7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a83a5576e0cda98ab17da65e6fea043f7">&#9670;&nbsp;</a></span>getSurfaceInCell()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Real SPH::LevelSetDataPackage::getSurfaceInCell </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a>&#160;</td>
          <td class="paramname"><em>cell_index</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function get area of a surface patch in a cell. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">cell_index(Vecu)</td><td>Cell index. </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">return</td><td>the area. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a7671a3c72c652bca3f564cdda4742d10"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7671a3c72c652bca3f564cdda4742d10">&#9670;&nbsp;</a></span>getVolumeInCell()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Real SPH::LevelSetDataPackage::getVolumeInCell </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a>&#160;</td>
          <td class="paramname"><em>cell_index</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function get volume fraction in a cell. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">cell_index(Vecu)</td><td>Cell index. </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">return</td><td>volume fraction </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ada7d92474227130cc7562bed059bb3a9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ada7d92474227130cc7562bed059bb3a9">&#9670;&nbsp;</a></span>initializeDataPackage()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void SPH::LevelSetDataPackage::initializeDataPackage </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_s_p_h_1_1_s_p_h_body.html">SPHBody</a> *&#160;</td>
          <td class="paramname"><em>sph_body</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>This function initialize the level set package constructed by default. </p>

<p>Implements <a class="el" href="class_s_p_h_1_1_base_data_package.html#ad01213b2fa1db938c827b1dec02e5ddd">SPH::BaseDataPackage&lt; LevelSetData &gt;</a>.</p>

</div>
</div>
<a id="a71a66d40463810937df1f6b11f1a7c25"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a71a66d40463810937df1f6b11f1a7c25">&#9670;&nbsp;</a></span>initializeWithUniformData()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SPH::LevelSetDataPackage::initializeWithUniformData </td>
          <td>(</td>
          <td class="paramtype">Real&#160;</td>
          <td class="paramname"><em>level_set</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Vecd&#160;</td>
          <td class="paramname"><em>normal_direction</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function initialize with uniform level set field. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">level_set(Real)</td><td>Level set value </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">normal_direction(Vecd)</td><td>Normal direction of levelset field. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a67176b4af5b5051ecf1bb09c5bbc6704"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a67176b4af5b5051ecf1bb09c5bbc6704">&#9670;&nbsp;</a></span>isNarrowBandGrid()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classbool.html">bool</a> SPH::LevelSetDataPackage::isNarrowBandGrid </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a>&#160;</td>
          <td class="paramname"><em>grid_index</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function indicate if a grid point within the narrow band. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">grid_index(Vecu)</td><td>Grid index. </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">ture</td><td>or false </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a98e612e6d11f2a5f78e36bc35a347a8a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a98e612e6d11f2a5f78e36bc35a347a8a">&#9670;&nbsp;</a></span>isNearSurfaceGrid()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classbool.html">bool</a> SPH::LevelSetDataPackage::isNearSurfaceGrid </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a>&#160;</td>
          <td class="paramname"><em>grid_index</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function indicate if a grid point near the surafce. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">grid_index(Vecu)</td><td>Grid index. </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">ture</td><td>or false </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a5b64845c5c9d4e9423b7c8058fd97597"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5b64845c5c9d4e9423b7c8058fd97597">&#9670;&nbsp;</a></span>redistanceToLevelset()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classbool.html">bool</a> SPH::LevelSetDataPackage::redistanceToLevelset </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a>&#160;</td>
          <td class="paramname"><em>grid_index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Real&#160;</td>
          <td class="paramname"><em>phi</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function check whether apply reset levelset by computing distance to another levelset. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">grid_index(Vecu)</td><td>Grid index. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">phi(Real)</td><td>Levelset value </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">ture</td><td>or false </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a97085ad7b0b805713f1224705b173a11"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a97085ad7b0b805713f1224705b173a11">&#9670;&nbsp;</a></span>stepReinitialization()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classbool.html">bool</a> SPH::LevelSetDataPackage::stepReinitialization </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a>&#160;</td>
          <td class="paramname"><em>grid_index</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function check whether apply reinitialization step. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">grid_index(Vecu)</td><td>Grid index. </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">ture</td><td>or false </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a17fa32e1900c2c859f5c06e580a524f6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a17fa32e1900c2c859f5c06e580a524f6">&#9670;&nbsp;</a></span>is_core_pkg_</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classbool.html">bool</a> SPH::LevelSetDataPackage::is_core_pkg_</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>If true, the package is near to zero level set. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>SPHINXsys/src/shared/meshes/<a class="el" href="base__mesh_8h_source.html">base_mesh.h</a></li>
<li>SPHINXsys/src/for_2D_build/meshes/base_mesh_supplementary.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
